package com.wicket.okrbff.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.integration.FwAppOffStateClient;
import com.wicket.okrapp.integration.dto.QueryCheckItemListReqDto;
import com.wicket.okrapp.integration.dto.QueryCheckItemListRespDto;
import com.wicket.okrbff.biz.service.BaseService;
import com.wicket.okrbff.biz.service.dto.common.BffUnionAppDto;
import com.wicket.okrbff.biz.service.dto.req.*;
import com.wicket.okrbff.biz.service.dto.res.*;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrbff.common.util.CommonFunctionHelper;
import com.wicket.okrbff.common.util.RedisUtil;
import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComReqDto;
import com.wicket.okrframework.integration.FwBaseBaseClient;
import com.wicket.okrframework.integration.FwBaseCommonClient;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;
import com.wicket.okrbff.common.exception.Assert;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerListComRespDto;
import com.wicket.okrbff.biz.service.dto.common.BffOpenLoginMethodDto;
import com.wicket.okrframework.integration.FwBaseMessageClient;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class BaseServiceImpl implements BaseService {

    @Resource
    FwBaseBaseClient baseClient;
    @Resource
    FwBaseInductionRecordClient inductionRecordClient;
    @Resource
    FwBaseCommonClient commonClient;
    @Resource
    FwAppOffStateClient offStateClient;
    @Resource
    FwBaseBaseClient fwBaseBaseClient;
    @Resource
    FwBaseInductionRecordClient fwBaseInductionRecordClient;
    @Resource
    FwBaseCommonClient fwBaseCommonClient;
    @Resource
    FwAppOffStateClient fwAppOffStateClient;
    @Resource
    private RedisUtil redisUtil;
@Resource
  FwCompConfSchemeClient fwCompConfSchemeClient;
@Resource
  FwBaseMessageClient fwBaseMessageClient;

    /**
   * B1-2查询空间应用详情（公共）[1525]
   * gen by moon at 12/25/2023, 1:47:42 PM
   */
    @Trace(operationName = "B1-2查询空间应用详情（公共）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQuerySpaceAppDetailComRespDto querySpaceAppDetailCom(BffQuerySpaceAppDetailComReqDto reqDto){
      
       
       QueryAppDetailRespDto queryAppDetailRespDto_1 =null;
QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto_1 =null;
ObtainChannelAndMemberInfoComRespDto obtainChannelAndMemberInfoComRespDto_1 =null;
//步骤0: D1-2查询联盟应用详情 - queryAppDetail
     QueryAppDetailRespDto queryAppDetailRespDto = null;
    QueryAppDetailReqDto queryAppDetailReqDto=new QueryAppDetailReqDto();
  queryAppDetailReqDto.setWebsite(CommonFunctionHelper.getSessionUrl());//ACCESS_ADDRESS//sourceId:42752_1
  
    /*D1-2查询联盟应用详情[541]   */
    Assert.isNull(queryAppDetailReqDto.getWebsite(),"B1-2查询空间应用详情（公共）-D1-2查询联盟应用详情-网址不能为空",false);
      queryAppDetailRespDto = fwBaseBaseClient.queryAppDetail(queryAppDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryAppDetailRespDto_1 = queryAppDetailRespDto;
    
//步骤1: D2-3查配置项匹配答案列表(公共)（跨服务） - queryConfItemMatchAnswerListCom
     QueryConfItemMatchAnswerListComRespDto queryConfItemMatchAnswerListComRespDto = null;
    if(queryAppDetailRespDto !=null){
          QueryConfItemMatchAnswerListComReqDto queryConfItemMatchAnswerListComReqDto=new QueryConfItemMatchAnswerListComReqDto();
  queryConfItemMatchAnswerListComReqDto.setResultAspObjType("TENANT_SPACE");//sourceId:380526_1
queryConfItemMatchAnswerListComReqDto.setConfItemCode("OPEN_LOGIN_METHOD");//CUSTOM_CONVENTION//sourceId:380525_1
queryConfItemMatchAnswerListComReqDto.setIsPlatData("FALSE");//sourceId:380528_1
if(queryAppDetailRespDto!=null){
      queryConfItemMatchAnswerListComReqDto.setResultAspObjId(queryAppDetailRespDto.getUniqueSpaceId());//SimpleFieldAssign//sourceId:380527_1
    }
  
    /*D2-3查租户启用的登录方式[2505]   */
    Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjId(),"B1-2查询空间应用详情（公共）-D2-3查租户启用的登录方式-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto.getResultAspObjType(),"B1-2查询空间应用详情（公共）-D2-3查租户启用的登录方式-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto.getConfItemCode(),"B1-2查询空间应用详情（公共）-D2-3查租户启用的登录方式-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerListComReqDto.getIsPlatData(),"B1-2查询空间应用详情（公共）-D2-3查租户启用的登录方式-是否标准答案不能为空",false);
      queryConfItemMatchAnswerListComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerListCom(queryConfItemMatchAnswerListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryConfItemMatchAnswerListComRespDto_1 = queryConfItemMatchAnswerListComRespDto;
           }
    
//步骤2: D1-获取助手等成员通道关系(公共) - obtainChannelAndMemberInfoCom
     ObtainChannelAndMemberInfoComRespDto obtainChannelAndMemberInfoComRespDto = null;
    if(queryAppDetailRespDto !=null){
          ObtainChannelAndMemberInfoComReqDto obtainChannelAndMemberInfoComReqDto=new ObtainChannelAndMemberInfoComReqDto();
  if(queryAppDetailRespDto!=null){
      obtainChannelAndMemberInfoComReqDto.setUniqueSpaceId(queryAppDetailRespDto.getUniqueSpaceId());//SimpleFieldAssign//sourceId:1117001_1
    }

    /*D1-获取助手等成员通道关系(公共)[7321]   */
    Assert.isNull(obtainChannelAndMemberInfoComReqDto.getUniqueSpaceId(),"B1-2查询空间应用详情（公共）-D1-获取助手等成员通道关系(公共)-管理的空间ID不能为空",false);
      obtainChannelAndMemberInfoComRespDto = fwBaseMessageClient.obtainChannelAndMemberInfoCom(obtainChannelAndMemberInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      obtainChannelAndMemberInfoComRespDto_1 = obtainChannelAndMemberInfoComRespDto;
           }

BffQuerySpaceAppDetailComRespDto retData = new BffQuerySpaceAppDetailComRespDto();
  if(queryConfItemMatchAnswerListComRespDto_1!=null){
      retData.setOpenLoginMethodList(//objList-to-objLists
        queryConfItemMatchAnswerListComRespDto_1.getConfSchemeItemResultList().stream().map(item -> {
      BffOpenLoginMethodDto elm = new BffOpenLoginMethodDto();
      if(item!=null){
      elm.setLoginMethodCode(item.getEndValue());//SimpleFieldAssign//sourceId:107824_2
elm.setLoginMethodName(item.getConfOptionName());//SimpleFieldAssign//sourceId:107825_2
elm.setIsDefault(item.getExtensionField1());//SimpleFieldAssign//sourceId:107826_2
    }
        return elm;
      }).collect(Collectors.toList()));//objList-to-objLists//sourceId:380543_1
    }
if(queryAppDetailRespDto_1!=null){
      retData.setAppId(queryAppDetailRespDto_1.getAppId());//SimpleFieldAssign//sourceId:42795_1
retData.setAppCode(queryAppDetailRespDto_1.getAppCode());//SimpleFieldAssign//sourceId:42796_1
retData.setAppName(queryAppDetailRespDto_1.getAppName());//SimpleFieldAssign//sourceId:42797_1
retData.setAppIntroduce(queryAppDetailRespDto_1.getAppIntroduce());//SimpleFieldAssign//sourceId:42798_1
retData.setAppUpdateIntroduct(queryAppDetailRespDto_1.getAppUpdateIntroduct());//SimpleFieldAssign//sourceId:42799_1
retData.setWebsite(queryAppDetailRespDto_1.getWebsite());//SimpleFieldAssign//sourceId:42800_1
retData.setAppLogo(queryAppDetailRespDto_1.getAppLogo());//SimpleFieldAssign//sourceId:42801_1
retData.setAboutLogo(queryAppDetailRespDto_1.getAboutLogo());//SimpleFieldAssign//sourceId:42802_1
retData.setAppBanner(queryAppDetailRespDto_1.getAppBanner());//SimpleFieldAssign//sourceId:42803_1
retData.setAppBigBanner(queryAppDetailRespDto_1.getAppBigBanner());//SimpleFieldAssign//sourceId:62304_1
retData.setCopyright(queryAppDetailRespDto_1.getCopyright());//SimpleFieldAssign//sourceId:42804_1
retData.setSenderMemberId(queryAppDetailRespDto_1.getSenderMemberId());//SimpleFieldAssign//sourceId:1444544_1
retData.setServicePhone(queryAppDetailRespDto_1.getServicePhone());//SimpleFieldAssign//sourceId:42805_1
retData.setServiceTime(queryAppDetailRespDto_1.getServiceTime());//SimpleFieldAssign//sourceId:42806_1
retData.setAppVersion(queryAppDetailRespDto_1.getAppVersion());//SimpleFieldAssign//sourceId:42807_1
retData.setUniqueSpaceId(queryAppDetailRespDto_1.getUniqueSpaceId());//SimpleFieldAssign//sourceId:42809_1
retData.setSpaceName(queryAppDetailRespDto_1.getSpaceName());//SimpleFieldAssign//sourceId:42810_1
retData.setAbbreviation(queryAppDetailRespDto_1.getAbbreviation());//SimpleFieldAssign//sourceId:514442_1
retData.setSceneId(queryAppDetailRespDto_1.getSceneId());//SimpleFieldAssign//sourceId:42811_1
retData.setSceneName(queryAppDetailRespDto_1.getSceneName());//SimpleFieldAssign//sourceId:42812_1
retData.setPlatformType(queryAppDetailRespDto_1.getPlatformType());//SimpleFieldAssign//sourceId:42813_1
retData.setIsOpenSmsService(queryAppDetailRespDto_1.getIsOpenSmsService());//SimpleFieldAssign//sourceId:105845_1
retData.setUserAgreement(queryAppDetailRespDto_1.getUserAgreement());//SimpleFieldAssign//sourceId:179631_1
retData.setPrivacyStatement(queryAppDetailRespDto_1.getPrivacyStatement());//SimpleFieldAssign//sourceId:179632_1
    }
if(obtainChannelAndMemberInfoComRespDto_1!=null){
      retData.setSenderProfilePictureAddress(obtainChannelAndMemberInfoComRespDto_1.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:1117010_1
retData.setNameOfSender(obtainChannelAndMemberInfoComRespDto_1.getNameOfSender());//SimpleFieldAssign//sourceId:1117011_1
    }


  
  
return retData;
  }



    /**
     * B1-2查场景列表（公共）[1312]
     */
    @Trace(operationName = "B1-2查场景列表（公共）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySceneListComRespDto querySceneListCom(BffQuerySceneListComReqDto reqDto) {


        //步骤0: D1-2查场景列表(边界) - querySceneListBorder
        QuerySceneListBorderRespDto querySceneListBorderRespDto = null;
        QuerySceneListBorderReqDto querySceneListBorderReqDto = new QuerySceneListBorderReqDto();
        querySceneListBorderReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//CURRENTLY_VALID
        querySceneListBorderReqDto.setAscriptionAppId(reqDto.getAscriptionAppId());
        /*D1-2查场景列表(边界)[1313]   */
        querySceneListBorderRespDto = fwBaseBaseClient.querySceneListBorder(querySceneListBorderReqDto).getData();


        BffQuerySceneListComRespDto retData = new BffQuerySceneListComRespDto();
        retData.setSenceList(querySceneListBorderRespDto.getSenceList().stream().map(item -> BeanUtil.toBean(item, BffSenceDto.class)).collect(Collectors.toList()));//sourceId:30660_1


        return retData;
    }





    /**
   * B1-2修改空间（管理）[983]
   * gen by moon at 8/10/2022, 3:31:36 AM
   */
    @Trace(operationName = "B1-2修改空间（管理）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateSpaceRespDto updateSpace(BffUpdateSpaceReqDto reqDto){
      
       
       //步骤0: D1-2修改空间 - updateSpace
     UpdateSpaceRespDto updateSpaceRespDto = null;
    UpdateSpaceReqDto updateSpaceReqDto=new UpdateSpaceReqDto();
  if(reqDto!=null){
      updateSpaceReqDto.setSpaceId(reqDto.getSpaceId());//sourceId:32548_1
updateSpaceReqDto.setOrganizationNumber(reqDto.getOrganizationNumber());//sourceId:32558_1
updateSpaceReqDto.setSpaceName(reqDto.getSpaceName());//sourceId:32550_1
updateSpaceReqDto.setAbbreviation(reqDto.getAbbreviation());//sourceId:32551_1
updateSpaceReqDto.setSpaceLogo(reqDto.getSpaceLogo());//sourceId:32552_1
updateSpaceReqDto.setSpaceCopyRight(reqDto.getSpaceCopyRight());//sourceId:32553_1
    }
  
    /*D1-2修改空间[439]   */
    Assert.isNull(updateSpaceReqDto.getSpaceId(),"B1-2修改空间（管理）-D1-2修改空间-空间ID不能为空",false);
      updateSpaceRespDto = fwBaseBaseClient.updateSpace(updateSpaceReqDto).getData();
      
      
    
BffUpdateSpaceRespDto retData = new BffUpdateSpaceRespDto();
  
  

  
  
return retData;
  }

    /**
   * B1-2查询空间详情[1161]
   * gen by moon at 8/10/2022, 3:33:15 AM
   */
    @Trace(operationName = "B1-2查询空间详情")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQuerySpaceDetailRespDto querySpaceDetail(BffQuerySpaceDetailReqDto reqDto){
      
       
       QuerySpaceDetailComRespDto querySpaceDetailComRespDto_1 = null;
//步骤0: D1-2查空间详情(公共) - querySpaceDetailCom
     QuerySpaceDetailComRespDto querySpaceDetailComRespDto = null;
    QuerySpaceDetailComReqDto querySpaceDetailComReqDto=new QuerySpaceDetailComReqDto();
  querySpaceDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:32719_1
  
    /*D1-2查空间详情(公共)[402]   */
    Assert.isNull(querySpaceDetailComReqDto.getSpaceId(),"B1-2查询空间详情-D1-2查空间详情(公共)-空间ID不能为空",false);
      querySpaceDetailComRespDto = fwBaseBaseClient.querySpaceDetailCom(querySpaceDetailComReqDto).getData();
      
      querySpaceDetailComRespDto_1 = querySpaceDetailComRespDto;
    
BffQuerySpaceDetailRespDto retData = new BffQuerySpaceDetailRespDto();
  if(querySpaceDetailComRespDto_1!=null){
      retData.setSpaceId(querySpaceDetailComRespDto_1.getSpaceId());//sourceId:32750_1
retData.setOrganizationNumber(querySpaceDetailComRespDto_1.getOrganizationNumber());//sourceId:32751_1
retData.setSpaceName(querySpaceDetailComRespDto_1.getSpaceName());//sourceId:32752_1
retData.setAbbreviation(querySpaceDetailComRespDto_1.getAbbreviation());//sourceId:32753_1
retData.setSpaceLogo(querySpaceDetailComRespDto_1.getSpaceLogo());//sourceId:32754_1
retData.setSpaceCopyRight(querySpaceDetailComRespDto_1.getSpaceCopyRight());//sourceId:32755_1
retData.setSubjectionSceneId(querySpaceDetailComRespDto_1.getSubjectionSceneId());//sourceId:32756_1
retData.setSceneName(querySpaceDetailComRespDto_1.getSceneName());//sourceId:32757_1
    }
  

  
  
return retData;
  }



    /**
   * B1-2修改空间应用（管理）[1162]
   * gen by moon at 8/10/2022, 3:33:19 AM
   */
    @Trace(operationName = "B1-2修改空间应用（管理）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateSpaceAppRespDto updateSpaceApp(BffUpdateSpaceAppReqDto reqDto){
      
       
       //步骤0: D1-2修改联盟应用 - updateApp
     UpdateAppRespDto updateAppRespDto = null;
    UpdateAppReqDto updateAppReqDto=new UpdateAppReqDto();
  if(reqDto!=null){
      updateAppReqDto.setAppId(reqDto.getAppId());//sourceId:33095_1
updateAppReqDto.setAppName(reqDto.getAppName());//sourceId:33097_1
updateAppReqDto.setAppIntroduce(reqDto.getAppIntroduce());//sourceId:33098_1
updateAppReqDto.setAppUpdateIntroduct(reqDto.getAppUpdateIntroduct());//sourceId:33099_1
updateAppReqDto.setAppLogo(reqDto.getAppLogo());//sourceId:33101_1
updateAppReqDto.setAboutLogo(reqDto.getAboutLogo());//sourceId:33102_1
updateAppReqDto.setAppBanner(reqDto.getAppBanner());//sourceId:33103_1
updateAppReqDto.setAppBigBanner(reqDto.getAppBigBanner());//sourceId:62279_1
updateAppReqDto.setCopyright(reqDto.getCopyright());//sourceId:33106_1
    }
  
    /*D1-2修改联盟应用[568]   */
    Assert.isNull(updateAppReqDto.getAppId(),"B1-2修改空间应用（管理）-D1-2修改联盟应用-应用ID不能为空",false);
      updateAppRespDto = fwBaseBaseClient.updateApp(updateAppReqDto).getData();
      
      
    
BffUpdateSpaceAppRespDto retData = new BffUpdateSpaceAppRespDto();
  
  

  
  
return retData;
  }


    /**
   * B1-2查询空间应用详情[733]
   * gen by moon at 8/10/2022, 3:30:10 AM
   */
    @Trace(operationName = "B1-2查询空间应用详情")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQuerySpaceAppDetailRespDto querySpaceAppDetail(BffQuerySpaceAppDetailReqDto reqDto){
      
       
       QueryAppDetailRespDto queryAppDetailRespDto_3 = null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D1-2查询联盟应用详情 - queryAppDetail
     QueryAppDetailRespDto queryAppDetailRespDto = null;
    QueryAppDetailReqDto queryAppDetailReqDto=new QueryAppDetailReqDto();
  if(reqDto!=null){
      queryAppDetailReqDto.setUniqueSpaceId(reqDto.getUniqueSpaceId());//sourceId:32938_1
    }
  
    /*D1-2查询联盟应用详情（唯一空间查联盟应用ID）[541]   */
    Assert.isNull(queryAppDetailReqDto.getUniqueSpaceId(),"B1-2查询空间应用详情-D1-2查询联盟应用详情（唯一空间查联盟应用ID）-管理的空间ID不能为空",false);
      queryAppDetailRespDto = fwBaseBaseClient.queryAppDetail(queryAppDetailReqDto).getData();
      
      
    
//步骤1: D1-2查询联盟应用详情 - queryAppDetail
     QueryAppDetailRespDto queryAppDetailRespDto_2 = null;
    if(queryAppDetailRespDto !=null){
          QueryAppDetailReqDto queryAppDetailReqDto_1=new QueryAppDetailReqDto();
  if(queryAppDetailRespDto!=null){
      queryAppDetailReqDto_1.setAppId(queryAppDetailRespDto.getAppId());//sourceId:32907_1
    }
  
    /*D1-2查询联盟应用详情[541]   */
    Assert.isNull(queryAppDetailReqDto_1.getAppId(),"B1-2查询空间应用详情-D1-2查询联盟应用详情-应用ID不能为空",false);
      queryAppDetailRespDto_2 = fwBaseBaseClient.queryAppDetail(queryAppDetailReqDto_1).getData();
      
      queryAppDetailRespDto_3 = queryAppDetailRespDto_2;
           }
    
//步骤2: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryAppDetailRespDto_2 !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryAppDetailRespDto_2!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryAppDetailRespDto_2.getOperationInductionId());//sourceId:15713_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B1-2查询空间应用详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQuerySpaceAppDetailRespDto retData = new BffQuerySpaceAppDetailRespDto();
  if(queryAppDetailRespDto_3!=null){
      retData.setAppId(queryAppDetailRespDto_3.getAppId());//sourceId:32942_1
retData.setAppCode(queryAppDetailRespDto_3.getAppCode());//sourceId:32943_1
retData.setAppName(queryAppDetailRespDto_3.getAppName());//sourceId:32945_1
retData.setAppIntroduce(queryAppDetailRespDto_3.getAppIntroduce());//sourceId:32947_1
retData.setAppUpdateIntroduct(queryAppDetailRespDto_3.getAppUpdateIntroduct());//sourceId:32949_1
retData.setWebsite(queryAppDetailRespDto_3.getWebsite());//sourceId:32951_1
retData.setAppLogo(queryAppDetailRespDto_3.getAppLogo());//sourceId:32952_1
retData.setAboutLogo(queryAppDetailRespDto_3.getAboutLogo());//sourceId:32953_1
retData.setAppBanner(queryAppDetailRespDto_3.getAppBanner());//sourceId:32954_1
retData.setAppBigBanner(queryAppDetailRespDto_3.getAppBigBanner());//sourceId:62268_1
retData.setCopyright(queryAppDetailRespDto_3.getCopyright());//sourceId:32955_1
retData.setServicePhone(queryAppDetailRespDto_3.getServicePhone());//sourceId:34218_1
retData.setServiceTime(queryAppDetailRespDto_3.getServiceTime());//sourceId:34219_1
retData.setAppVersion(queryAppDetailRespDto_3.getAppVersion());//sourceId:34220_1
retData.setIsOpenSmsService(queryAppDetailRespDto_3.getIsOpenSmsService());//sourceId:105847_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//sourceId:42886_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//sourceId:42887_1
retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//sourceId:42888_1
    }
  

  
  
return retData;
  }


    /**
     * B1-2查联盟应用列表（边界）[1310]
     */
    @Trace(operationName = "B1-2查联盟应用列表（边界）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAppListBorderRespDto queryAppListBorder(BffQueryAppListBorderReqDto reqDto) {


        //步骤0: D1-2查联盟应用列表(边界) - queryAppListBorder
        QueryAppListBorderRespDto queryAppListBorderRespDto = null;
        QueryAppListBorderReqDto queryAppListBorderReqDto = new QueryAppListBorderReqDto();


        /*D1-2查联盟应用列表(边界)[1308]   */
        queryAppListBorderRespDto = fwBaseBaseClient.queryAppListBorder(queryAppListBorderReqDto).getData();


        BffQueryAppListBorderRespDto retData = new BffQueryAppListBorderRespDto();
        retData.setUnionAppList(queryAppListBorderRespDto.getUnionAppList().stream().map(item -> BeanUtil.toBean(item, BffUnionAppDto.class)).collect(Collectors.toList()));//sourceId:30646_1


        return retData;
    }


    /**
     * 11111B1-2查应用短信配置详情[1433]
     */
    @Trace(operationName = "11111B1-2查应用短信配置详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryAppMessageSetDetailRespDto queryAppMessageSetDetail(BffQueryAppMessageSetDetailReqDto reqDto) {


        BffQueryAppMessageSetDetailRespDto retData = new BffQueryAppMessageSetDetailRespDto();


        return retData;
    }

    /**
     * 111111B1-2修改应用短信配置[1430]
     */
    @Trace(operationName = "111111B1-2修改应用短信配置")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateAppMessageSetRespDto updateAppMessageSet(BffUpdateAppMessageSetReqDto reqDto) {


        BffUpdateAppMessageSetRespDto retData = new BffUpdateAppMessageSetRespDto();


        return retData;
    }
    //
}
